public function getUniqueId() { if ($this->_uniqueId === null) { $this->_uniqueId = kanon::getUniqueId(); } return $this->_uniqueId; }
public function __construct($argument, $function) { $this->_argument = $argument; $this->_function = $function; $this->_as = kanon::getUniqueId(); //'sql' }
public function __construct($collection, $fieldName) { $this->_collectionId = $collection->getUniqueId(); $this->_fieldName = $fieldName; $this->_fieldString = $this->_collectionId . '.`' . $this->_fieldName . '`'; $this->_fieldUniqueId = kanon::getUniqueId('modelField:' . $this->_collectionId . '.' . $this->_fieldName); }