Photo) { return TRUE; } else { return FALSE; } } public function Form($Form) { return ''; } public function Validate($Criteria, $Form) { return; } public function Hooks() { return array('Gdn_Dispatcher_AppStartup'); } public function Description() { $Description = T('Yaga.Rules.PhotoExists.Desc'); return Wrap($Description, 'div', array('class' => 'InfoMessage')); } public function Name() { return T('Yaga.Rules.PhotoExists'); } public function Interacts() { return FALSE; } }