controllers/Credential.php
public function addCredential($type)
    {
        $this->data_type = $type;

        $this->setTitleEditCredential();
        $this->setBreadcrumbEditCredential();

        $this->credential->callHandler($type, 'edit');
    }
public function addCredential($type)
    {
        $this->data_type = $type;

        $this->setTitleEditCredential();
        $this->setBreadcrumbEditCredential();

        $this->credential->callHandler($type, 'edit');
    }
public function addCredential ( $ type ) { $ this -> data_type = $ type ; $ this -> setTitleEditCredential ( ) ; $ this -> setBreadcrumbEditCredential ( ) ; $ this -> credential -> callHandler ( $ type , 'edit' ) ; }
Route page callback
Displays the add credential page
@param string $type
Route page callback Displays the add credential page