kernel/classes/datatypes/ezauthor/ezauthor.php
function addAuthor( $id, $name, $email )
    {
        if ( $id == -1 )
        {
            if ( isset( $this->Authors[$this->AuthorCount - 1] ) )
                $id = $this->Authors[$this->AuthorCount - 1]['id'] + 1;
            else
                $id = 1;
        }

        $this->Authors[] = array( "id" => $id,
                                  "name" => $name,
                                  "email" => $email,
                             "is_default" => false );

        $this->AuthorCount ++;
    }
function addAuthor( $id, $name, $email )
    {
        if ( $id == -1 )
        {
            if ( isset( $this->Authors[$this->AuthorCount - 1] ) )
                $id = $this->Authors[$this->AuthorCount - 1]['id'] + 1;
            else
                $id = 1;
        }

        $this->Authors[] = array( "id" => $id,
                                  "name" => $name,
                                  "email" => $email,
                             "is_default" => false );

        $this->AuthorCount ++;
    }
function addAuthor ( $ id , $ name , $ email ) { if ( $ id == - 1 ) { if ( isset ( $ this -> Authors [ $ this -> AuthorCount - 1 ] ) ) $ id = $ this -> Authors [ $ this -> AuthorCount - 1 ] [ 'id' ] + 1 ; else $ id = 1 ; } $ this -> Authors [ ] = array ( "id" => $ id , "name" => $ name , "email" => $ email , "is_default" => false ) ; $ this -> AuthorCount ++ ; }
Add an author

@param int $id
@param string $name
@param string $email
Add an author