Beispiel #1
0
        ?>
</td>  
                    <td>
						<?php 
        echo $test_schedule->getStart() ? $test_schedule->getStart('d-m-Y') : '-';
        ?>
                    	<?php 
        #$sf_user->setCulture('id_ID');
        #echo format_date($test_schedule->getStart(), 'D');
        ?>
                    </td>
                    <td align="center" style="text-align:center;">
                    	<?php 
        $c = new Criteria();
        $c->add(VTestApplSchedPeer::TEST_SCHEDULE_ID, $test_schedule->getId());
        $test_count = VTestApplSchedPeer::doCount($c);
        ?>
                        <?php 
        echo link_to_remote($test_count, array('url' => 'test_schedule/listLocation?id=' . $test_schedule->getId(), 'update' => 'content', 'script' => 'true', 'loading' => "showIndicator('content', 'snakebig_black');", 'complete' => "hideIndicator()"), array('class' => 'white', 'title' => __('Jumlah Ruangan')));
        ?>
                    </td>
				</tr>
		<?php 
    }
    ?>
		<?php 
}
?>
			</tbody>
		</table>
		<?php 
Beispiel #2
0
 public function countVTestApplScheds($criteria = null, $distinct = false, $con = null)
 {
     include_once 'lib/model/om/BaseVTestApplSchedPeer.php';
     if ($criteria === null) {
         $criteria = new Criteria();
     } elseif ($criteria instanceof Criteria) {
         $criteria = clone $criteria;
     }
     $criteria->add(VTestApplSchedPeer::TEST_APPLICANT_ID, $this->getId());
     return VTestApplSchedPeer::doCount($criteria, $distinct, $con);
 }