/**
  * @return null|Pipeline_Model_PipelineProperty
  *
  */
 protected function _createNewProperty($propertyName)
 {
     $pipelinePropertyMapper = new Pipeline_Model_Mapper_PipelineProperty();
     $pipelineProperty = new Pipeline_Model_PipelineProperty();
     $systemName = $this->_getSistemNameProperty($propertyName);
     $pipelineProperty->setOptions(array('name' => $propertyName, 'sistemName' => strtolower($systemName), 'active' => 1, 'showList' => 1, 'type' => 0, 'sorting' => 0, 'deleted' => 0));
     $pipelinePropertyMapper->save($pipelineProperty);
     $newProperty = $pipelinePropertyMapper->findBySistemName($pipelineProperty->getSistemName(), new Pipeline_Model_PipelineProperty());
     return $newProperty;
 }
 public function testAction()
 {
     $sistemName = 'test4';
     $pipelinePropertyMapper = new Pipeline_Model_Mapper_PipelineProperty();
     $property = $pipelinePropertyMapper->findBySistemName($sistemName, new Pipeline_Model_PipelineProperty());
     var_dump($property->getId());
 }