コード例 #1
0
ファイル: Exception.php プロジェクト: JimmyVB/Symfony-v1.2
 public function __construct($message = "Couldn't initialize table. One instance of this\n                            table already exists. Always use Doctrine_Session::getTable(\$name)\n                            to get on instance of a Doctrine_Table.")
 {
     parent::__construct($message);
 }
コード例 #2
0
ファイル: Exception.php プロジェクト: nationalfield/symfony
 /**
  * @param Doctrine_Validator $validator
  */
 public function __construct(array $invalid)
 {
     $this->invalid = $invalid;
     parent::__construct($this->generateMessage());
 }