File manager - Edit - /home/eliteafr/pmb/classes/vedette/vedette_concepts.class.php
Back
<?php // +-------------------------------------------------+ // | 2002-2007 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net) // +-------------------------------------------------+ // $Id: vedette_concepts.class.php,v 1.4 2014-08-13 07:44:28 apetithomme Exp $ if (stristr($_SERVER['REQUEST_URI'], ".class.php")) die("no access"); require_once($class_path."/vedette/vedette_element.class.php"); require_once($class_path."/concept.class.php"); class vedette_concepts extends vedette_element{ public function __construct($type, $id, $isbd = "") { if ($id*1) { $id = onto_common_uri::get_uri($id); } parent::__construct($type, $id, $isbd); } public function set_vedette_element_from_database(){ $concept = new concept($this->get_db_id()); $this->isbd = $concept->get_display_label(); } public function get_db_id() { if (!$this->db_id) { $this->db_id = onto_common_uri::get_id($this->id); } return $this->db_id; } }
| ver. 1.4 |
Github
|
.
| PHP 5.4.45 | Generation time: 0 |
proxy
|
phpinfo
|
Settings