PATH:
home
/
letacommog
/
letaweb
/
protected
/
modules
/
profile
/
models
<?php class DeletePage1Form extends CFormModel { public $id; public function rules() { return array( array('id', 'safe'), ); } public function save($item = null) { if ($this->validate()) { if (isset($this->id)) { $t = Site::model()->findByPk($this->id); $t->delete(); return true; } } else { return false; } } }
[+]
..
[-] ResetPassForm.php
[edit]
[-] DeletePage1Form.php
[edit]
[-] PageForm.php
[edit]
[-] DeletePageForm.php
[edit]
[-] ChangeDomainForm.php
[edit]
[-] UserForm.php
[edit]
[-] ChangeSubDomainForm.php
[edit]