Show
Ignore:
Timestamp:
10/03/08 12:53:45 (3 months ago)
Author:
riaf
Message:

どうやらローカルではそれなりに更新してあったらしい。どこまでやってるかわからないけどとりあえずコミットしておく。あとでちゃんと見ますごめんなさいごめんなさい。

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • events/phpframework/rhaco/trunk/library/model/table/FollowTable.php

    r20590 r20593  
    5050        function columnId(){ 
    5151                if(!Rhaco::isVariable("_R_D_C_","Follow::Id")){ 
    52                         $column = new Column("column=id,variable=id,type=serial,size=22,primary=true,"); 
     52                        $column = new Column("column=id,variable=id,type=serial,size=22,primary=true,",__CLASS__); 
    5353                        $column->label(Message::_("id")); 
    5454                        Rhaco::addVariable("_R_D_C_",$column,"Follow::Id"); 
     
    5858        /** 
    5959         *  
    60          * @return serial        */ 
     60         * @return serial 
     61         */ 
    6162        function setId($value){ 
    6263                $this->id = TableObjectUtil::cast($value,"serial"); 
     
    7475        function columnUserId(){ 
    7576                if(!Rhaco::isVariable("_R_D_C_","Follow::UserId")){ 
    76                         $column = new Column("column=user_id,variable=userId,type=integer,size=22,unique=true,reference=User::Id,uniqueWith=Follow::FollowId,"); 
     77                        $column = new Column("column=user_id,variable=userId,type=integer,size=22,unique=true,reference=User::Id,uniqueWith=Follow::FollowId,",__CLASS__); 
    7778                        $column->label(Message::_("user_id")); 
    7879                        Rhaco::addVariable("_R_D_C_",$column,"Follow::UserId"); 
     
    8283        /** 
    8384         *  
    84          * @return integer       */ 
     85         * @return integer 
     86         */ 
    8587        function setUserId($value){ 
    8688                $this->userId = TableObjectUtil::cast($value,"integer"); 
     
    98100        function columnFollowId(){ 
    99101                if(!Rhaco::isVariable("_R_D_C_","Follow::FollowId")){ 
    100                         $column = new Column("column=follow_id,variable=followId,type=integer,size=22,require=true,unique=true,uniqueWith=Follow::UserId,"); 
     102                        $column = new Column("column=follow_id,variable=followId,type=integer,size=22,require=true,unique=true,uniqueWith=Follow::UserId,",__CLASS__); 
    101103                        $column->label(Message::_("follow_id")); 
    102104                        Rhaco::addVariable("_R_D_C_",$column,"Follow::FollowId"); 
     
    106108        /** 
    107109         *  
    108          * @return integer       */ 
     110         * @return integer 
     111         */ 
    109112        function setFollowId($value){ 
    110113                $this->followId = TableObjectUtil::cast($value,"integer"); 
     
    122125        function columnCreatedAt(){ 
    123126                if(!Rhaco::isVariable("_R_D_C_","Follow::CreatedAt")){ 
    124                         $column = new Column("column=created_at,variable=createdAt,type=timestamp,"); 
     127                        $column = new Column("column=created_at,variable=createdAt,type=timestamp,",__CLASS__); 
    125128                        $column->label(Message::_("created_at")); 
    126129                        Rhaco::addVariable("_R_D_C_",$column,"Follow::CreatedAt"); 
     
    130133        /** 
    131134         *  
    132          * @return timestamp     */ 
     135         * @return timestamp 
     136         */ 
    133137        function setCreatedAt($value){ 
    134138                $this->createdAt = TableObjectUtil::cast($value,"timestamp");