コード例 #1
0
 protected function installLegacyDatabaseFile(AttributeType $type)
 {
     $r = $this->environment->getRecord(DIRNAME_ATTRIBUTES . DIRECTORY_SEPARATOR . $type->getAttributeTypeHandle() . DIRECTORY_SEPARATOR . FILENAME_ATTRIBUTE_DB, $type->getPackageHandle());
     if ($r->exists()) {
         \Concrete\Core\Package\Package::installDB($r->file);
     }
 }
コード例 #2
0
ファイル: Key.php プロジェクト: ppiedaderawnet/concrete5
 public function getAttributeTypeHandle()
 {
     return $this->type->getAttributeTypeHandle();
 }