internal links in procedure
This commit is contained in:
@@ -229,27 +229,18 @@ class Procedure extends PhpObject
|
||||
|
||||
public function getProcedure()
|
||||
{
|
||||
// [id_step]=>text
|
||||
// [id_step][id_image]=>array('name'=>file name, 'desc'=> description)
|
||||
/*
|
||||
$asSteps = $asImages = array();
|
||||
$iLocalStepId = 1;
|
||||
foreach($this->asSteps as $iStepId=>$sStepDesc)
|
||||
foreach($this->asSteps as $iStepId=>$asStep)
|
||||
{
|
||||
$asSteps[$iLocalStepId] = $sStepDesc;
|
||||
if(array_key_exists($iStepId, $this->asImages))
|
||||
{
|
||||
$asImages[] =
|
||||
$this->asSteps[$iStepId]['formated_description'] = ToolBox::formatText($asStep['description']);
|
||||
}
|
||||
$iLocalStepId++;
|
||||
}*/
|
||||
|
||||
return array( 'proc_id'=>$this->iProcId,
|
||||
'id_user'=>$this->iUserId,
|
||||
'title'=>Databap::getDescriptionFormat($this->sTitle),
|
||||
'description'=>Databap::getDescriptionFormat($this->sDescription),
|
||||
'led'=>Databap::getDateFormat($this->dLed),
|
||||
'steps'=>$this->asSteps,
|
||||
'images'=>$this->asImages);
|
||||
'id_user'=>$this->iUserId,
|
||||
'title'=>Databap::getDescriptionFormat($this->sTitle),
|
||||
'description'=>Databap::getDescriptionFormat($this->sDescription),
|
||||
'led'=>Databap::getDateFormat($this->dLed),
|
||||
'steps'=>$this->asSteps,
|
||||
'images'=>$this->asImages);
|
||||
}
|
||||
|
||||
private function refreshProcId()
|
||||
|
||||
Reference in New Issue
Block a user