public function setSeperateLogin($can)
    {
        if (!$this->seperateLoginAttribute || empty($this->seperateLoginAttribute)) {
            return;
        }
        $enableLoginAttribute = $this->seperateLoginAttribute;
        $this->$enableLoginAttribute = ($can ? 1 : 0);
    }
public function setSeperateLogin($can)
    {
        if (!$this->seperateLoginAttribute || empty($this->seperateLoginAttribute)) {
            return;
        }
        $enableLoginAttribute = $this->seperateLoginAttribute;
        $this->$enableLoginAttribute = ($can ? 1 : 0);
    }
public function setSeperateLogin ( $ can ) { if ( ! $ this -> seperateLoginAttribute || empty ( $ this -> seperateLoginAttribute ) ) { return ; } $ enableLoginAttribute = $ this -> seperateLoginAttribute ; $ this -> $ enableLoginAttribute = ( $ can ? 1 : 0 ) ; }
Set this additional accunt could be used for logging-in.
@param boolean $can
@return integer
Set this additional accunt could be used for logging - in .