Created
September 15, 2014 11:41
-
-
Save Arakaki/0a37ae68ad0a763fcbc1 to your computer and use it in GitHub Desktop.
Complement $this member variables using instanceof with PHPStorm
This file contains 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
class Welcome extends CI_Controller { | |
public function index(){ | |
if($this->form_validation instanceof CI_Form_validation) $this->form_validation->alpha(""); | |
$this->load->view('welcome_message'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment