public function selfPermCheck($permid)
  {
    $permident = (is_numeric($permid)) ? "permid" : "permsid";

    return $this->execute("permget", array($permident => $permid))->toAssocArray("permsid");
  }
public function selfPermCheck($permid)
  {
    $permident = (is_numeric($permid)) ? "permid" : "permsid";

    return $this->execute("permget", array($permident => $permid))->toAssocArray("permsid");
  }
public function selfPermCheck ( $ permid ) { $ permident = ( is_numeric ( $ permid ) ) ? "permid" : "permsid" ; return $ this -> execute ( "permget" , array ( $ permident => $ permid ) ) -> toAssocArray ( "permsid" ) ; }
Returns an array containing the value of a specified permission for your own client.

@param  integer $permid
@return array
Returns an array containing the value of a specified permission for your own client .