public function actionCreateFromPage()
    {
        $this->menuFlush();
        $model = new Nav();
        $response = $model->createItemLanguageCopy($this->postArg('id'), $this->postArg('toLangId'), $this->postArg('title'), $this->postArg('alias'));
        
        if (is_array($response)) {
            return $this->sendArrayError($response);
        }
        
        return $response;
    }
public function actionCreateFromPage()
    {
        $this->menuFlush();
        $model = new Nav();
        $response = $model->createItemLanguageCopy($this->postArg('id'), $this->postArg('toLangId'), $this->postArg('title'), $this->postArg('alias'));
        
        if (is_array($response)) {
            return $this->sendArrayError($response);
        }
        
        return $response;
    }
public function actionCreateFromPage ( ) { $ this -> menuFlush ( ) ; $ model = new Nav ( ) ; $ response = $ model -> createItemLanguageCopy ( $ this -> postArg ( 'id' ) , $ this -> postArg ( 'toLangId' ) , $ this -> postArg ( 'title' ) , $ this -> postArg ( 'alias' ) ) ; if ( is_array ( $ response ) ) { return $ this -> sendArrayError ( $ response ) ; } return $ response ; }
Create a new page from another existing Page.

@return boolean|array
Create a new page from another existing Page .