コード例 #1
0
 /**
  * Retrieves a date or datetime fields as a unix timestamp
  * @param  string  strKey  property to be retrieved
  */
 public function get_timestamp($strKey)
 {
     return MyActiveRecord::TimeStamp($this->{$strKey});
 }