Changeset 5935 for extensions/AMetaData/amd_pip.class.inc.php
- Timestamp:
- Apr 21, 2010, 9:27:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AMetaData/amd_pip.class.inc.php
r5790 r5935 22 22 23 23 include_once('amd_root.class.inc.php'); 24 include_once(PHPWG_PLUGINS_PATH.' grum_plugins_classes-2/ajax.class.inc.php');24 include_once(PHPWG_PLUGINS_PATH.'GrumPluginClasses/classes/GPCAjax.class.inc.php'); 25 25 26 26 class AMD_PIP extends AMD_root 27 27 { 28 protected $ajax;29 30 28 function AMD_PIP($prefixeTable, $filelocation) 31 29 { 32 30 parent::__construct($prefixeTable, $filelocation); 33 $this->ajax = new Ajax();34 31 35 $this->load _config();36 $this->init _events();32 $this->loadConfig(); 33 $this->initEvents(); 37 34 } 38 35 … … 46 43 initialize events call for the plugin 47 44 */ 48 public function init _events()45 public function initEvents() 49 46 { 50 parent::init _events();47 parent::initEvents(); 51 48 add_event_handler('loc_begin_picture', array(&$this, 'loadMetadata')); 52 49 } … … 162 159 163 160 if($analyzed=='n' and 164 $this-> my_config['amd_FillDataBaseContinuously']=='y' and165 $this-> my_config['amd_AllPicturesAreAnalyzed']=='n')161 $this->config['amd_FillDataBaseContinuously']=='y' and 162 $this->config['amd_AllPicturesAreAnalyzed']=='n') 166 163 { 167 164 /* if picture is not analyzed, do analyze
Note: See TracChangeset
for help on using the changeset viewer.