Project::__construct PHP Method

__construct() public method

public __construct ( )
    public function __construct()
    {
        $this->projects = getJSON('projects.php');
        if (file_exists(BASE_PATH . "/data/" . $_SESSION['user'] . '_acl.php')) {
            $this->assigned = getJSON($_SESSION['user'] . '_acl.php');
        }
    }

Usage Example

示例#1
0
 function __construct()
 {
     parent::__construct();
     $this->load->model('evaluation_model', 'evaluation');
     $this->project = $this->evaluation;
     $this->load->view_path['edit'] = 'evaluation/edit';
 }
All Usage Examples Of Project::__construct