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