Changeset 759
- Timestamp:
- 03/06/2006 09:31:38 PM (3 years ago)
- Files:
-
- 1 modified
-
trunk/demos/composer/protected/pages/Home.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/composer/protected/pages/Home.php
r422 r759 38 38 $property=$this->ClassDefinition->Properties->itemAt($param->CommandParameter); 39 39 $this->ClassDefinition->Properties->removeAt($param->CommandParameter); 40 $this->ClassDefinition->Properties->insert ($param->CommandParameter-1,$property);40 $this->ClassDefinition->Properties->insertAt($param->CommandParameter-1,$property); 41 41 } 42 42 else if($param->CommandName==='down') … … 44 44 $property=$this->ClassDefinition->Properties->itemAt($param->CommandParameter); 45 45 $this->ClassDefinition->Properties->removeAt($param->CommandParameter); 46 $this->ClassDefinition->Properties->insert ($param->CommandParameter+1,$property);46 $this->ClassDefinition->Properties->insertAt($param->CommandParameter+1,$property); 47 47 } 48 48 $this->PropertyList->DataSource=$this->ClassDefinition->Properties; … … 60 60 $property=$this->ClassDefinition->Events->itemAt($param->CommandParameter); 61 61 $this->ClassDefinition->Events->removeAt($param->CommandParameter); 62 $this->ClassDefinition->Events->insert ($param->CommandParameter-1,$property);62 $this->ClassDefinition->Events->insertAt($param->CommandParameter-1,$property); 63 63 } 64 64 else if($param->CommandName==='down') … … 66 66 $property=$this->ClassDefinition->Events->itemAt($param->CommandParameter); 67 67 $this->ClassDefinition->Events->removeAt($param->CommandParameter); 68 $this->ClassDefinition->Events->insert ($param->CommandParameter+1,$property);68 $this->ClassDefinition->Events->insertAt($param->CommandParameter+1,$property); 69 69 } 70 70 $this->EventList->DataSource=$this->ClassDefinition->Events;
