Home
last modified time | relevance | path

Searched refs:cat (Results 1 – 6 of 6) sorted by relevance

/web-php/src/News/
H A DEntry.php48 foreach ($cats as $cat) {
49 if (!isset(self::CATEGORIES[$cat])) {
50 throw new \Exception("Unknown category: $cat");
57 public function addCategory(string $cat): self { argument
58 if (!isset(self::CATEGORIES[$cat])) {
59 throw new \Exception("Unknown category: $cat");
61 if (!in_array($cat, $this->categories, false)) {
62 $this->categories[] = $cat;
129 foreach ($this->categories as $cat) {
130 … self::ce($dom, "category", null, ['term' => $cat, "label" => self::CATEGORIES[$cat]], $item);
/web-php/bin/
H A DcreateNewsEntry70 $cat = array_map(
82 if (count(array_intersect($cat, ['cfp', 'conferences'])) >= 2) {
87 if (count($cat) == 0) {
92 return $cat;
203 foreach ($opts['category'] as $cat) {
204 $entry->addCategory($cat);
/web-php/
H A Dsubmit-event.php233 …$cat = ["- Select a category -", "User Group Event", 3 => "Training"]; // 2 = conference.. which s… variable
234 display_options($cat, $_POST['category']);
/web-php/tests/
H A Dserver13 cat <<EOF
121 PIDFILECONTENT=`cat "$PIDFILE"`
/web-php/releases/8.4/
H A Drelease.inc394 foreach (['dog', 'cat', 'cow', 'duck', 'goose'] as $value) {
401 var_dump($animal); // string(3) "cat"
413 ['dog', 'cat', 'cow', 'duck', 'goose'],
417 var_dump($animal); // string(3) "cat"
/web-php/include/
H A Dlayout.inc308 $cat = ["unknown", "User Group Event", "Conference", "Training"];
309 echo ' [' . $cat[$event['category']] . '] ';
356 // Only print entries in the provided s/dog/cat/ egory

Completed in 11 milliseconds