PicoraPing
Represents a recorded Pingback.
extends PicoraActiveRecord implements ArrayAccess
Declared in: PicoraPingBack.php
class PicoraPing extends PicoraActiveRecord {
const TABLE_NAME = 'pings';
public function beforeCreate(){
$this->created = date('Y-m-d H:i:s',time());
}
static public function findAllByLocal($local){
return PicoraActiveRecord::findAll('PicoraPing',array('where'=>'local = \''.PicoraActiveRecord::escape($local).'\' OR local = \''.PicoraActiveRecord::escape($local).'/\''));
}
}