Subversion Repositories eFlore/Applications.coel-consultation

Rev

Rev 152 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 152 Rev 220
Line 7... Line 7...
7
 * @category	Php 5.2
7
 * @category	Php 5.2
8
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
8
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
9
 * @copyright	2010 Tela-Botanica
9
 * @copyright	2010 Tela-Botanica
10
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
10
 * @license		http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
11
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
11
 * @license		http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
12
 * @version		SVN: $Id: Fiche.php 152 2010-09-06 16:19:12Z jpm $
12
 * @version		SVN: $Id: Fiche.php 220 2014-06-13 12:25:38Z aurelien $
13
 */
13
 */
14
abstract class Fiche extends aControleur {
14
abstract class Fiche extends aControleur {
Line 15... Line 15...
15
	
15
	
16
	protected $structureDao = null;
16
	protected $structureDao = null;
Line 41... Line 41...
41
	
41
	
42
	protected function traiterDonneesElementAPublication(&$publications) {
42
	protected function traiterDonneesElementAPublication(&$publications) {
43
		foreach ($publications as &$publication) {
43
		foreach ($publications as &$publication) {
44
			$publication['_editeur_'] = $this->construireTxtTruck($publication['cpu_ce_truk_editeur']);
44
			$publication['_editeur_'] = $this->construireTxtTruck($publication['cpu_ce_truk_editeur']);
-
 
45
			$publication['_date_parution_'] = rtrim($publication['cpu_date_parution'],'-00-00');
-
 
46
			if(isset($publication['ccapu_source'])) {
-
 
47
				$publication['ccapu_source'] = $publication['ccapu_source'] == "1" ? "oui" : "non";
45
			$publication['_date_parution_'] = rtrim($publication['cpu_date_parution'],'-00-00');
48
			}
46
		}
49
		}
Line 47... Line 50...
47
	}
50
	}
48
	
51