示例#1
0
 /**
  * funkce vytvori autora
  * @param array $distributors
  * @param string $name
  * @param string $nick optional
  * @param string $email optional
  * @param object $attributes optional
  * @return int
  */
 public function createAuthor($distributors, $name, $nick = null, $email = null, $attributes = null)
 {
     try {
         return Authors::createAuthor($name, $nick, $email, $attributes);
     } catch (Exception $e) {
         throw new RPCFault($e->getMessage(), $e->getCode(), $e->getCode());
     }
 }