コード例 #1
0
ファイル: BaseTag.php プロジェクト: sgrove/cothinker
 public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME)
 {
     $pos = TagPeer::translateFieldName($name, $type, BasePeer::TYPE_NUM);
     return $this->setByPosition($pos, $value);
 }
コード例 #2
0
 protected function getFieldNameFromPeer($field_name)
 {
     $res = TagPeer::translateFieldName($field_name, $this->field_name_translation_type, BasePeer::TYPE_COLNAME);
     return $res;
 }