public function mapRow(\org\equinox\dao\ResultSet $resultSet, $rowNum)
 {
     $role = new RoleDto();
     $role->id = $resultSet->getInt('id');
     $role->title = $resultSet->get('title');
     $role->description = $resultSet->get('description');
     return $role;
 }
 public function mapRow(\org\equinox\dao\ResultSet $resultSet, $rowNum)
 {
     $content = new JoomlaContentDto();
     $content->id = $resultSet->getInt('id');
     $content->title = $resultSet->get('title');
     $content->introText = $resultSet->get('introtext');
     $content->fullText = $resultSet->get('fulltext');
     $content->state = $resultSet->getInt('state');
     $content->sectionId = $resultSet->getInt('sectionid');
     $content->catId = $resultSet->getInt('catid');
     $content->created = $resultSet->getDateTime('created');
     $content->createdBy = $resultSet->getInt('created_by');
     $content->modified = $resultSet->getDateTime('modified');
     $content->modifiedBy = $resultSet->getInt('modified_by');
     $content->published = $resultSet->getDateTime('publish_up');
     return $content;
 }
 public function mapRow(\org\equinox\dao\ResultSet $resultSet, $rowNum)
 {
     $user = new UserDto();
     $user->id = $resultSet->getInt('id');
     $user->login = $resultSet->get('login');
     $user->password = $resultSet->get('password');
     $user->userName = $resultSet->get('name');
     $user->email = $resultSet->get('email');
     $user->dateCreation = $resultSet->getDateTime('date_creation');
     return $user;
 }
 public function mapRow(\org\equinox\dao\ResultSet $resultSet, $rowNum)
 {
     $content = new ContentDto();
     $content->id = $resultSet->getInt('id');
     $content->title = $resultSet->get('title');
     $content->chapo = $resultSet->get('chapo');
     $content->body = $resultSet->get('body');
     $content->home = $resultSet->getBoolean('home');
     $content->state = $resultSet->getInt('state');
     $content->edito = $resultSet->getInt('edito');
     $content->dateCreation = $resultSet->getDateTime('date_creation');
     $content->dateModification = $resultSet->getDateTime('date_modification');
     $content->datePublication = $resultSet->getDateTime('date_publication');
     $content->idUserCreation = $resultSet->getDateTime('id_user_creation');
     $content->idUserModification = $resultSet->getDateTime('id_user_modification');
     $content->nameCreator = $resultSet->get('name_creator');
     $content->nameModificator = $resultSet->get('name_modificator');
     return $content;
 }
 protected function mapCategory(\org\equinox\dao\ResultSet $resultSet, CategoryDto $category)
 {
     $category->id = $resultSet->getInt('id');
     $category->idParent = $resultSet->getInt('idParent');
     $category->title = $resultSet->get('title');
     $category->description = $resultSet->get('description');
     $category->ordering = $resultSet->getInt('ordering');
     $category->state = $resultSet->getInt('state');
     $category->level = $resultSet->getInt('level');
     $category->type = $resultSet->getInt('type');
     $category->data = $resultSet->get('data');
 }