Created
February 17, 2015 06:35
-
-
Save kaioken/43fb8b84ef9c8834cf51 to your computer and use it in GitHub Desktop.
Estilo de Documentacion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Las funciones deben llevar el standar de documentacion de esta manera , no lo estamos siguiendo. | |
* debemos definir los parametros @param tipo y nombre | |
* que devuelve la funcion @return | |
* y su descripcion como estan haciendo | |
*/ | |
/** | |
* funcion prinicpal pork el index de esta shit suckea por ahora -_- | |
* @return void | |
*/ | |
public function homeAction() | |
{ | |
//remove the registration session | |
$this->session->remove('userRegistrationKey'); | |
$this->view->setVar('noAds', true); | |
//if the user is logged in and passed the welcome screen show feeds | |
if($this->userData->isLoggedIn() && $this->userData->welcome) | |
{ | |
$this->tag->setTitleSeparator(true); | |
$this->tag->setTitle('Naruho.do'); | |
$this->view->setVar('globalSlider', null); | |
$this->view->pick('index/feed'); | |
$this->view->setVar('noAds', true); | |
//get the user feed list | |
$this->view->setVar('userFeed', userFeed::getAll($this->userData)); | |
} | |
} | |
/** | |
* Relate a series from MAL with Naruhodo | |
* | |
* @param int $seriesId | |
* @param string $title | |
* @param int $categoryId | |
* @param sourceInfo $sourceInfo | |
* @return Series | |
*/ | |
public function getRelatedSeries($seriesId, $title, $categoryId, $sourceInfo) | |
{ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment