| 1 |
<?php |
| 2 |
/** |
| 3 |
* |
| 4 |
*/ |
| 5 |
|
| 6 |
/** |
| 7 |
* |
| 8 |
*/ |
| 9 |
class CJT_Models_Block_Parameters_Parameters |
| 10 |
extends CJT_Models_Block_Parameters_Base_Parameters { |
| 11 |
|
| 12 |
/** |
| 13 |
* put your comment there... |
| 14 |
* |
| 15 |
* @param mixed $row |
| 16 |
*/ |
| 17 |
public function createModelObject($row) { |
| 18 |
return new CJT_Models_Block_Parameters_Parameter($row); |
| 19 |
} |
| 20 |
|
| 21 |
/** |
| 22 |
* put your comment there... |
| 23 |
* |
| 24 |
*/ |
| 25 |
protected function getQuery() { |
| 26 |
$query = "SELECT p.* |
| 27 |
FROM #__cjtoolbox_parameters p LEFT JOIN #__cjtoolbox_blocks b ON p.blockId = b.id |
| 28 |
WHERE b.id = {$this->blockId} |
| 29 |
ORDER by id ASC;"; |
| 30 |
return $query; |
| 31 |
} |
| 32 |
|
| 33 |
} // End class. |
| 34 |
|