/**
  * create new genre
  * @param array $details 
  * @return json
  *   
  */
 public function insertNewGenre($details)
 {
     $insert_id = parent::insertNewGenre($details);
     if ($insert_id) {
         return $this->buildAnswer(true, "Genre creted");
     }
     return $this->buildAnswer(false, 'Ops!! Genre not creted');
 }
Exemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
 }