示例#1
0
 /**
  * @return bool true if the module image has been deployed, false otherwise.
  */
 public function isModuleImageDeployed()
 {
     return ModuleImageQuery::create()->filterByModuleId($this->getId())->count() > 0;
 }
示例#2
0
 /**
  * Get the Query instance for this object
  *
  * @return ModelCriteria
  */
 public function getQueryInstance()
 {
     return ModuleImageQuery::create();
 }