コード例 #1
0
ファイル: Repository.php プロジェクト: bauer01/unimapper
 public function getName()
 {
     return UNC::classToName(get_called_class(), UNC::REPOSITORY_MASK);
 }
コード例 #2
0
ファイル: Reflection.php プロジェクト: bauer01/unimapper
 public function getName()
 {
     return UNC::classToName($this->className, UNC::ENTITY_MASK);
 }
コード例 #3
0
ファイル: Select.php プロジェクト: bauer01/unimapper
 /**
  * Get a unique query checksum
  *
  * @return integer
  */
 private function _getQueryChecksum()
 {
     return md5(serialize(["name" => $this->getName(), "entity" => UNC::classToName($this->entityReflection->getClassName(), UNC::ENTITY_MASK), "limit" => $this->limit, "offset" => $this->offset, "selection" => $this->selection, "orderBy" => $this->orderBy, "localAssociations" => array_keys($this->associations["local"]), "remoteAssociations" => array_keys($this->associations["remote"]), "conditions" => $this->filter]));
 }