This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static function find($type, array $options = array()) | |
{ | |
// @todo: determine the Model to use instead of hard-coded 'User' | |
$options['conditions']['User.deleted'] = 0; | |
// @todo: add this condition for each 'With' relation instead of hard-coded 'Email' | |
$options['conditions']['Email.deleted'] = 0; | |
return parent::find($type, $options); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace app\extensions\helper; | |
class Form extends \lithium\template\helper\Form { | |
/** | |
* String templates used by this helper. | |
* | |
* @var array |