- Timestamp:
- Jan 18, 2012, 1:42:13 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 1 deleted
- 4 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/File.php
r348 r360 1 1 <?php 2 2 3 class File extends OldModule3 class File 4 4 { 5 var $Database; 6 5 7 function __construct($Database) 6 8 { -
trunk/Model.php
r353 r360 82 82 } 83 83 84 function AddPropertyManyToMany($ Name, $Column, $TargetModel, $TargetColumn)84 function AddPropertyManyToMany($TargetModel, $Relation, $ColumOwn, $ColumnTarget) 85 85 { 86 $this->Properties[] = array(' Name' => $Name, 'Type' => PropertyManyToMany,87 'TargetModel' => $TargetModel, ' TargetColumn' => $TargetColumn,88 'Column ' => $Column);86 $this->Properties[] = array('Type' => PropertyManyToMany, 87 'TargetModel' => $TargetModel, 'Relation' => $Relation, 'ColumnOwn' => $ColumnOwn, 88 'ColumnTarget' => $ColumnTarget); 89 89 } 90 90 -
trunk/Modules/Module.php
r358 r360 93 93 `Installed` int(11) NOT NULL, 94 94 `Description` text COLLATE utf8_czech_ci NOT NULL, 95 `Dependecies` varchar(255) COLLATE utf8_czech_ci NOT NULL, 95 96 PRIMARY KEY (`Id`) 96 97 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=1;'); … … 141 142 'Version' => $Module->Version, 'Creator' => $Module->Creator, 142 143 'Description' => $Module->Description, 'License' => $Module->License, 143 'Installed' => 0 ));144 'Installed' => 0, 'Dependecies' => implode(',', $Module->Dependencies))); 144 145 unset($Module); 145 146 } else throw new Exception('Missing class '.$ModuleClassName.' in module '.$ModuleName); -
trunk/Modules/TV/TV.php
r349 r360 111 111 $this->AddPropertyInteger('Frequency'); 112 112 $this->AddPropertyString('Norm'); 113 $this->AddPropertyString('HomePage'); 114 $this->AddPropertyString('Language'); 115 $this->AddPropertyString('ShortName'); 116 $this->AddPropertyString('Stream'); 117 $this->AddPropertyString('StreamWeb'); 118 $this->AddPropertyString('SourceType'); 119 $this->AddPropertyString('Category'); 113 $this->AddPropertyString('HomePage'); 114 $this->AddPropertyString('Language'); 115 $this->AddPropertyString('ShortName'); 116 $this->AddPropertyString('Stream'); 117 $this->AddPropertyString('StreamWeb'); 118 $this->AddPropertyString('SourceType'); 119 $this->AddPropertyString('Category'); 120 120 } 121 121 } -
trunk/global.php
r358 r360 9 9 include_once('Common/Error.php'); 10 10 include_once('Common/Code.php'); 11 include_once('Common/Forms.php'); 12 include_once('Common/File.php'); 11 13 include_once('module.php'); 12 include_once('forms.php');13 14 include_once('Modules/page.php'); 14 include_once('file.php');15 15 include_once('finance/bills.php'); 16 16 include_once('finance/finance.php');
Note:
See TracChangeset
for help on using the changeset viewer.